﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Ankha.Core
{
        public class RenderFlags
        {
            private int _LayerDepth;
            public int LayerDepth
            {
                get { return _LayerDepth; }
                set { _LayerDepth = value; }
            }

            private SpriteEffects _EffectFlag;
            public SpriteEffects EffectFlag
            {
                get { return _EffectFlag; }
                set { _EffectFlag = value; }
            }

            private float _ScaleFlag;
            public float ScaleFlag
            {
                get { return _ScaleFlag; }
                set { _ScaleFlag = value; }
            }

            private Vector2 _Origin;
            public Vector2 Origin
            {
                get { return _Origin; }
                set { _Origin = value; }
            }

            private float _RotationFlag;
            public float RotationFlag
            {
                get { return _RotationFlag; }
                set { _RotationFlag = value; }
            }

            public RenderFlags()
            {

            }

            public static RenderFlags Default
            {
                get
                {
                    RenderFlags fgSet = new RenderFlags()
                    {
                        LayerDepth = 0,
                        EffectFlag = SpriteEffects.None,
                        ScaleFlag = 1f,
                        Origin = Vector2.Zero,
                        RotationFlag = 0f,
                    };

                    return fgSet;
                }
            }
        }
}
